- 
		Home
	
- 
YayPricing – WooCommerce Dynamic Pricing & Discounts
- 
2.4.8
- 
Code
- 
Classes
-  YAYDP_REST_PAGE_DATA_V1_CONTROLLER 
		
			
				
					
													
								
																			
											| Total Complexity | 74 | 
																			
											| Dependencies | 9 | 
																			
											| Dependents | 0 | 
																	
							 
													
								
																			
											| Total lines | 515 | 
																			
											| Lines of code | 387 | 
																			
											| Logical lines of code | 131 | 
																	
							 
													
								
																			
											| Comment lines | 97 | 
																			
											| Methods | 18 | 
																			
											| Properties | 2 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 18
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| register_routes() | A | 35 | 1 | 139 | 
					
				| get_removing_rules() | A | 54 | 8 | 20 | 
					
				| get_custom_filter() | S | 56 | 6 | 16 | 
					
				| save_page_data() | S | 49 | 4 | 34 | 
					
				| get_products() | S | 57 | 5 | 15 | 
					
				| get_variations() | S | 57 | 5 | 15 | 
					
				| get_categories() | S | 57 | 5 | 15 | 
					
				| get_tags() | S | 57 | 5 | 15 | 
					
				| get_customer_roles() | S | 57 | 5 | 15 | 
					
				| get_customers() | S | 57 | 5 | 15 | 
					
				| get_shipping_regions() | S | 57 | 5 | 15 | 
					
				| get_payment_methods() | S | 57 | 5 | 15 | 
					
				| get_coupons() | S | 57 | 5 | 15 | 
					
				| get_attributes() | S | 57 | 5 | 15 | 
					
				| get_page_data() | S | 58 | 2 | 16 | 
					
				| __construct() | S | 98 | 1 | 1 | 
					
				| save_removing_rules() | S | 65 | 1 | 8 | 
					
				| permission_callback() | S | 82 | 1 | 3 |